package cn.juque.systemservice.mapper;

import cn.juque.systemservice.entity.ConfigInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>系统参数表</li>
 * </ul>
 * @date 2022-10-27 23:30:46
 **/
@Mapper
public interface ConfigInfoMapper extends BaseMapper<ConfigInfo> {

    /**
     * 分页查询
     *
     * @param page       : page
     * @param configInfo : configInfo
     * @return List<ConfigInfo>
     */
    List<ConfigInfo> queryInfoList(Page<ConfigInfo> page, @Param("ew") ConfigInfo configInfo);

    /**
     * 查询
     *
     * @param configInfo : configInfo
     * @return List<ConfigInfo>
     */
    List<ConfigInfo> queryInfoList(@Param("ew") ConfigInfo configInfo);
}
